package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @ClassName Project
 * @Description TODO
 * @Author 86181
 * @Date 2022/8/25 19:11
 * @Version 1.0
 **/
//`pid` int(11) NOT NULL AUTO_INCREMENT,
//        `pname` varchar(32) NOT NULL,
//        `starttime` date DEFAULT NULL,
//        `endtime` datetime DEFAULT NULL,
//        `did` varchar(32) DEFAULT NULL,
//        `cid` varchar(32) DEFAULT NULL,
//        `updatetime` datetime DEFAULT NULL,
//        `status` int(11) DEFAULT '1' COMMENT '1代表正常，0代表删除',
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
public class Project {
    private int pid;
    private String pname;
    private Date starttime;
    private Date endtime;
    private String did;
    private String sid;
    private String cid;
    private Date updatetime;
    //创建属性,实现一对一
    private Developer developer;
    //创建属性,实现多对一
    private List<Stage> stages;



}
